import 'package:flutter_app/generated/json/base/json_convert_content.dart';
import 'package:flutter_app/bean/app_set_info_entity.dart';

AppSetInfoEntity $AppSetInfoEntityFromJson(Map<String, dynamic> json) {
	final AppSetInfoEntity appSetInfoEntity = AppSetInfoEntity();
	final String? agreement = jsonConvert.convert<String>(json['agreement']);
	if (agreement != null) {
		appSetInfoEntity.agreement = agreement;
	}
	final String? android = jsonConvert.convert<String>(json['android']);
	if (android != null) {
		appSetInfoEntity.android = android;
	}
	final String? film = jsonConvert.convert<String>(json['film']);
	if (film != null) {
		appSetInfoEntity.film = film;
	}
	final String? integral = jsonConvert.convert<String>(json['integral']);
	if (integral != null) {
		appSetInfoEntity.integral = integral;
	}
	final String? ios = jsonConvert.convert<String>(json['ios']);
	if (ios != null) {
		appSetInfoEntity.ios = ios;
	}
	final String? permission = jsonConvert.convert<String>(json['permission']);
	if (permission != null) {
		appSetInfoEntity.permission = permission;
	}
	final String? pinState = jsonConvert.convert<String>(json['pinState']);
	if (pinState != null) {
		appSetInfoEntity.pinState = pinState;
	}
	return appSetInfoEntity;
}

Map<String, dynamic> $AppSetInfoEntityToJson(AppSetInfoEntity entity) {
	final Map<String, dynamic> data = <String, dynamic>{};
	data['agreement'] = entity.agreement;
	data['android'] = entity.android;
	data['film'] = entity.film;
	data['integral'] = entity.integral;
	data['ios'] = entity.ios;
	data['permission'] = entity.permission;
	data['pinState'] = entity.pinState;
	return data;
}